#include <stdint.h>
#include <WaveTable_Celesta_C6.h>
// Sample's base frequency: 1046.832025 Hz
// Sample's sample rate: 32000 Hz
const int16_t WaveTable_Celesta_C6[WAVETABLE_CELESTA_C6_LEN]={
// Attack Samples:
  -126,    46,   -68,   105,    10,   -80,   274,    20,   228,    11,
   473,   139,   568,   381,   707,   739,  1340,  1598,  -872, -9072,
 -9845, -6181,  -452,  1399, -2002,  3272, 24345, 20587,  1495,  8390,
 13074,  -727,-10282, -8426,-15230, -9923,  1271,-10785,-18202, -3907,
 -9044,-18986, -1366, 11172, -2065,  4477, 22083, 12858,  -934, 13767,
 16147, -8430,  -210, 25642,  6687,-14206,  4064, 10394,-13637, -8863,
 13332, -6710,-20858,  2819,  7017,-23088,-19545,  3804,-10445,-27497,
 -2276, 10614, -7921, -7660, 14779,  9302, -7892,  7849, 24858,  2573,
 -5891, 20419, 20469, -1111,  8924, 25426,  5732, -8190,  9350,  6885,
-17177,-12737,  4010, -8145,-22227, -4557,   490,-18971,-18781,  -352,
 -6672,-18313, -4794,  5930, -7894, -7792, 11093, 11323,   220,  8065,
 18507,  9227,  3540, 15268, 15245,  2260,  5068, 13361,  2266, -3987,
  5155,  4588, -6511, -4701,  2018, -8411,-15680, -7738, -5391,-14110,
 -9207,   294, -6612,-12654, -2209,  1454, -7512, -5351,  6788,  4439,
 -2401,  7843, 15983,  6112,  3851, 15440, 13451,  1676,  4888, 10797,
  -121, -5472,  3390,  1115,-10786, -8034, -1660,-10756,-15741, -5493,
 -3904,-11654, -6414,  2998, -3024, -7609,  2822,  5893, -1397,  1095,
 11822,  8914,  2517,  8857, 12677,  2978,   359,  8812,  5621, -3907,
   831,  5493, -2903, -6917,  -117, -2528,-11805, -9230, -3398, -8260,
-12108, -4882, -2315, -8113, -5136,  3049, -1433, -5643,  3357,  9042,
  3150,  4640, 12173,  9543,  4080,  9652, 12398,  5237,  3691,  9381,
  6185, -1346,  -259,  1316, -6232, -9920, -7007, -9056,-14989,-11920,
 -6122, -8336,-10292, -3678,  -765, -5709, -3474,  3773,  2840,   676,
  7196, 10743,  5948,  5640, 10910,  8668,  4192,  7455,  9881,  5007,
  4456,  8281,  4712, -1845,   -37,  -128, -7236,-10954, -7675, -9569,
-14589,-11405, -6840, -9929,-11589, -5365, -2638, -5478,   549,  8235,
  7011,  5777, 11695, 13268,  8260,  7698, 10390,  7149,  3451,  5610,
  7212,  1977,  -115,  2527, -1434, -7140, -5667, -4592, -9792, -9621,
 -5122, -6096, -8898, -4883, -2251, -6181, -7127, -1320,  -164, -1504,
  2628,  6878,  4743,  3920,  6924,  8036,  5598,  6188,  8628,  7909,
  5915,  6959,  6844,  3198,   579,    46, -3276, -7620, -8134, -8096,
-10719,-11316, -8502, -8214, -9749, -7734, -4790, -5000, -3575,  1865,
  4546,  3773,  6370,  9386,  8995,  8246, 10135, 10393,  8042,  7793,
  9381,  7039,  2939,  2288,  1320, -3401, -5709, -5767, -7856,-10682,
 -9578, -8561,-10194,-10353, -7673, -6946, -8165, -5923, -1202,  -432,
   479,  5396,  7850,  6245,  7626, 10846,  9529,  7720,  9967, 10411,
  7367,  6586,  7625,  4661,   662,    -3, -1392, -5445, -7511, -7115,
 -9155,-11655,-10648, -9137,-10281,-10298, -7652, -5607, -5586, -3079,
  1226,  2828,  3383,  6765,  8296,  7102,  7671, 10103,  9778,  8883,
 10225, 10197,  6631,  4842,  4595,  1766, -2018, -2691, -3488, -6940,
 -9028, -8454, -9381,-11072, -9529, -7398, -8173, -7890, -4312, -2362,
 -2525,   160,  3744,  3975,  4543,  6652,  7508,  6434,  7344,  9293,
  8873,  7459,  7684,  7019,  4239,  2148,  1962,  -452, -3646, -4559,
 -5393, -8586,-10155, -8845, -8942,-10038, -8460, -6044, -5489, -4633,
 -1414,   681,  1349,  3803,  6182,  6011,  5906,  7447,  7895,  7092,
  7279,  7936,  6798,  4582,  3797,  3089,   801,  -830, -1683, -3483,
 -5870, -6779, -7542, -9043, -9103, -7790, -7321, -7179, -5634, -3282,
 -2321, -1130,  1378,  3266,  3903,  5013,  6439,  6662,  6418,  7199,
  7906,  7183,  6443,  6138,  4784,  2795,  1825,  1111, -1107, -3213,
 -4226, -5988, -8346, -8790, -8535, -9168, -8912, -6765, -5516, -5016,
 -3110,  -821,  -121,  1180,  3788,  5135,  5225,  6842,  8443,  7725,
  7164,  7810,  7284,  5507,  5077,  4860,  2656,   922,   784, -1004,
 -4162, -5868, -6706, -8411, -9647, -9533, -8941, -8585, -7218, -5347,
 -4368, -3858, -1687,  1031,  2348,  3615,  6177,  7302,  7199,  8240,
  9219,  8184,  7266,  7380,  6251,  4058,  3482,  3144,   847, -1415,
 -2077, -3623, -6660, -8229, -8466, -9495,-10073, -8765, -7636, -7258,
 -6013, -3928, -2791, -1423,  1135,  3484,  4533,  5983,  7669,  8062,
  7437,  7645,  7767,  7006,  6209,  5902,  5143,  3929,  2722,  1206,
  -952, -2974, -4932, -6932, -8309, -8937, -9172, -8896, -8187, -7312,
 -6434, -5522, -4206, -2551,  -553,  1630,  3592,  5373,  6768,  7511,
  7793,  7665,  7410,  6913,  6472,  6016,  5284,  4278,  3365,  2095,
   384, -1515, -3612, -5839, -7574, -8884, -9822, -9656, -8710, -7927,
 -7028, -5773, -4507, -3171, -1288,  1149,  3383,  5016,  6536,  7589,
  7828,  7628,  7561,  7268,  6811,  6601,  6343,  5261,  3749,  2370,
   821, -1321, -3759, -5596, -7145, -8544, -9380, -9570, -9270, -8629,
 -7694, -6705, -5749, -4125, -2028,    -4,  2258,  4634,  6296,  7275,
  7737,  7998,  8092,  8194,  8094,  7522,  6741,  5924,  4414,  2355,
   580, -1052, -3107, -5112, -6592, -7831, -8716, -9024, -9034, -8677,
 -7597, -6593, -5923, -4636, -2698,  -936,   927,  3232,  4895,  5791,
  6416,  7018,  7097,  7104,  7554,  7626,  7142,  6796,  6000,  4412,
  2701,  1023, -1208, -3576, -5245, -6797, -8360, -9147, -9058, -8905,
 -8516, -7509, -6292, -5407, -4193, -2338,  -203,  1904,  3856,  5452,
  6611,  7060,  7354,  7534,  7469,  7186,  6811,  6304,  5564,  4431,
  3074,  1740,    13, -1949, -3665, -5439, -7303, -8342, -8801, -9191,
 -8756, -7433, -6562, -5919, -4378, -2569, -1418,   122,  2680,  4648,
  5269,  6141,  7250,  7469,  7523,  8127,  7836,  6765,  6227,  5646,
  3954,  2196,   779, -1198, -3524, -5194, -6574, -8287, -9386, -9394,
 -9169, -8761, -7510, -6218, -5268, -3717, -1490,   478,  2199,  4377,
  6152,  6853,  7398,  7991,  7817,  7290,  7481,  7346,  6083,  5100,
  4604,  2978,   816,  -530, -1812, -4104, -6062, -7103, -8421, -9667,
 -9441, -8554, -8167, -7375, -5634, -4275, -3306, -1312,  1229,  3064,
  4704,  6452,  7462,  7489,  7633,  7913,  7600,  7192,  7086,  6460,
  5187,  4134,  2963,   978, -1387, -3095, -4915, -7193, -8872, -9352,
 -9579, -9500, -8588, -7252, -6501, -5262, -3588, -1759,
// Loop Samples:
   210,  2125,
  4206,  5781,  6747,  7399,  7717,  7732,  7615,  7590,  7138,  6312,
  5399,  4406,  2932,  1339,  -196, -2176, -4336, -6138, -7518, -8674,
 -9458, -9363, -8752, -7970, -6803, -5288, -4028, -2848,  -971,  1154,
  2907,  4646,  6358,  7170,  7431,  7840,  7918,  7415,  7188,  7088,
  6257,  4906,  3705,  2251,   192, -1843, -3583, -5326, -7006, -8167,
 -8875, -9230, -8796, -7926, -6993, -5973, -4597, -3232, -2040,  -277,
  1973,  3673,  4961,  6317,  7156,  7393,  7578,  7695,  7472,  7168,
  6774,  5911,  4768,  3559,  1911,    65, -1741, -3797, -5842, -7372,
 -8701, -9725, -9749, -8991, -8346, -7522, -6089, -4758, -3548, -1558,
   766,  2646,  4347,  6144,  7329,  7628,  8174,  8751,  8459,  7859,
  7737,  7165,  5514,  3956,  2706,   650, -1792, -3375, -4931, -7157,
 -8563, -8780, -9319, -9884, -8838, -7411, -6981, -5951, -3715, -2143,
  -861,  1573,  3987,  5070,  6071,  7679,  8203,  7760,  8042,  8414,
  7477,  6454,  5972,  4716,  2978,  1745,   369, -1641, -3538, -5088,
 -6799, -8449, -9335, -9357, -9119, -8680, -7502, -6050, -4936, -3642,
 -1805,  -104,  1645,  3724,  5608,  6700,  7495,  8402,  8860,  8353,
  7754,  7594,  6907,  5408,  4475,  3483,  1213, -1003, -2476, -4635,
 -7330, -8486, -8774, -9701,-10004, -8459, -7179, -7056, -6020, -3894,
 -2573, -1173,  1428,  3776,  4776,  6052,  7698,  8025,  7471,  8081,
  8747,  7691,  6550,  6575,  5748,  3582,  2090,   984, -1473, -4165,
 -5435, -7010, -9407,-10202, -9342, -9458, -9519, -7591, -5808, -5566,
 -4169, -1302,   504,  1908,  4593,  6613,  6747,  7248,  8729,  8833,
  7857,  7870,  8116,  6906,  5339,  4602,  3229,   808, -1061, -2477,
 -4745, -6885, -7833, -8704, -9976, -9865, -8464, -7846, -7475, -5840,
 -4231, -3305, -1451,  1231,  3178,  4608,  6317,  7367,  7464,  7913,
  8501,  8151,  7378,  7201,  6785,  5384,  3913,  2746,   869, -1505,
 -3290, -4892, -7024, -8644, -9021, -9201, -9407, -8584, -7215, -6587,
 -5889, -4158, -2248,  -661,  1386,  3825,  5427,  6280,  7393,  8209,
  8140,  8126,  8486,  7998,  6922,  6291,  5329,  3325,  1322,  -166,
 -2311, -4780, -6330, -7451, -8871, -9713, -9273, -8709, -8515, -7581,
 -6027, -4963, -3802, -1535,   925,  2655,  4502,  6543,  7518,  7638,
  8286,  8877,  8447,  8009,  8077,  7325,  5698,  4349,  2871,   476,
 -1881, -3560, -5420, -7659, -9053, -9383, -9828,-10079, -9139, -7866,
 -7211, -6025, -3796, -1974,  -466,  2088,  4569,  5666,  6657,  8094,
  8555,  8235,  8729,  9121,  8139,  6991,  6371,  4920,  2777,  1206,
  -272, -2584, -4804, -6118, -7560, -9218, -9816, -9553, -9508, -9101,
 -7680, -6236, -5358, -3735, -1298,   726,  2494,  4696,  6514,  7419,
  8080,  8792,  8950,  8704,  8630,  8237,  6921,  5324,  4093,  2593,
   466, -1576, -3291, -5191, -6981, -8300, -9325, -9967, -9819, -9147,
 -8293, -7188, -5736, -4245, -2734,  -892,  1396,  3498,  5189,  6627,
  7778,  8454,  8800,  8803,  8530,  8078,  7415,  6323,  4967,  3499,
  1797,   -17, -1876, -4087, -6187, -7605, -8684, -9554, -9816, -9185,
 -8265, -7320, -6258, -4967, -3480, -1699,   218,  2172,  3987,  5614,
  6852,  7601,  7892,  8218,  8446,  8100,  7312,  6623,  5738,  4342,
  2786,  1369,  -397, -2610, -4462, -5920, -7692, -9136, -9398, -9330,
 -8986, -8019, -6868, -5983, -4467, -2578, -1031,   705,  2916,  4426,
  5514,  6983,  8075,  8159,  8333,  8578,  8121,  7243,  6541,  5425,
  3709,  2328,  1041, -1249, -3791, -5410, -7024, -8895, -9747, -9539,
 -9512, -9056, -7596, -6346, -5686, -4145, -1797,   111,  1820,  4183,
  6067,  6843,  7445,  8272,  8309,  7860,  7956,  7892,  6882,  5740,
  4855,  3401,  1468,  -257, -2103, -4386, -6454, -7942, -9125, -9897,
 -9668, -8949, -8218, -7304, -5857, -4482, -3074, -1103,};

const uint16_t WaveTable_Celesta_C6_Increment[]={
     1,     2,     2,     2,     2,     2,     2,     2,     3,     3,
     3,     3,     3,     4,     4,     4,     5,     5,     5,     5,
     6,     6,     7,     7,     7,     8,     8,     9,    10,    10,
    11,    11,    12,    13,    14,    15,    15,    16,    17,    18,
    20,    21,    22,    23,    25,    26,    28,    30,    31,    33,
    35,    37,    40,    42,    45,    47,    50,    53,    56,    60,
    63,    67,    71,    75,    80,    85,    90,    95,   101,   107,
   113,   120,   127,   135,   143,   151,   160,   170,   180,   190,
   202,   214,   227,   240,   254,   270,   286,   303,   321,   340,
   360,   381,   404,   428,   454,   481,   509,   540,   572,   606,
   642,   680,   721,   763,   809,   857,   908,   962,  1019,  1080,
  1144,  1212,  1284,  1361,  1442,  1527,  1618,  1714,  1816,  1924,
  2039,  2160,  2289,  2425,  2569,  2722,  2884,  3055,};
